package com.bruce;

import com.bruce.service.UserService;
import com.spring.BruceApplicationContext;

/**
 * @author Bruce
 */
public class Test {
    public static void main(String[] args) {
        BruceApplicationContext applicationContext = new BruceApplicationContext(AppConfig.class);

        UserService userService = (UserService) applicationContext.getBean("userService");

        userService.test();
    }
}
